<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
 
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.upload {
  position: relative;
  width: 400px;
  min-height: 445px;
  box-sizing: border-box;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding-bottom: 20px;
  background: #fff;
  -webkit-animation: fadeup .5s .5s ease both;
          animation: fadeup .5s .5s ease both;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  opacity: 0;
}
.upload .upload-files header {
  background: rgb(163,235,235);
  

}
.upload .upload-files header p {
  color: #fff;
  font-size: 40px;
  margin: 0;
  padding: 50px 0;
}
.upload .upload-files header p i {
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  opacity: 0;
  font-size: 30px;
  -webkit-animation: fadeup .5s 1s ease both;
          animation: fadeup .5s 1s ease both;
}
.upload .upload-files header p .up {
  font-weight: bold;
  -webkit-transform: translateX(-20px);
          transform: translateX(-20px);
  display: inline-block;
  opacity: 0;
  -webkit-animation: faderight .5s 1.5s ease both;
          animation: faderight .5s 1.5s ease both;
}
.upload .upload-files header p .load {
  display: inline-block;
  font-weight: 100;
  margin-left: -8px;
  -webkit-transform: translateX(-20px);
          transform: translateX(-20px);
  opacity: 0;
  -webkit-animation: faderight 1s 1.5s ease both;
          animation: faderight 1s 1.5s ease both;
}
.upload .upload-files .body {
  text-align: center;
  padding: 50px 0;
  padding-bottom: 30px;
}
.upload .upload-files .body.hidden {
  display: none;
}
.upload .upload-files .body input {
  visibility: hidden;
}
.upload .upload-files .body i {
  font-size: 65px;
  color: lightgray;
}
.upload .upload-files .body p {
  font-size: 14px;
  padding-top: 15px;
  line-height: 1.4;
}
.upload .upload-files .body p b,
.upload .upload-files .body p a {
  color: #4db6ac;
}
.upload .upload-files .body.active {
  border: dashed 2px #4db6ac;
}
.upload .upload-files .body.active i {
  box-shadow: 0 0 0 -3px #fff, 0 0 0 lightgray, 0 0 0 -3px #fff, 0 0 0 lightgray;
  -webkit-animation: file .5s ease both;
          animation: file .5s ease both;
}
@-webkit-keyframes file {
  50% {
    box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -8px 8px 0 -3px #fff, -8px 8px 0 lightgray;
  }
  75%,
          100% {
    box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -16px 16px 0 -3px #fff, -16px 16px 0 lightgray;
  }
}
@keyframes file {
  50% {
    box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -8px 8px 0 -3px #fff, -8px 8px 0 lightgray;
  }
  75%,
          100% {
    box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -16px 16px 0 -3px #fff, -16px 16px 0 lightgray;
  }
}
.upload .upload-files .body.active .pointer-none {
  pointer-events: none;
}
.upload .upload-files footer {
  width: 100%;
  margin: 0 auto;
  height: 0;
}
.upload .upload-files footer .divider {
  margin: 0 auto;
  width: 0;
  border-top: solid 4px #46aba1;
  text-align: center;
  overflow: hidden;
  -webkit-transition: width .5s ease;
  transition: width .5s ease;
}
.upload .upload-files footer .divider span {
  display: inline-block;
  -webkit-transform: translateY(-25px);
          transform: translateY(-25px);
  font-size: 12px;
  padding-top: 8px;
}
.upload .upload-files footer.hasFiles {
  height: auto;
}
.upload .upload-files footer.hasFiles .divider {
  width: 100%;
}
.upload .upload-files footer.hasFiles .divider span {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform .5s .5s ease;
  transition: -webkit-transform .5s .5s ease;
  transition: transform .5s .5s ease;
  transition: transform .5s .5s ease, -webkit-transform .5s .5s ease;
}
.upload .upload-files footer .list-files {
  width: 320px;
  margin: 0 auto;
  margin-top: 15px;
  padding-left: 5px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 210px;
}
.upload .upload-files footer .list-files::-webkit-scrollbar-track {
  background-color: rgba(211, 211, 211, 0.25);
}
.upload .upload-files footer .list-files::-webkit-scrollbar {
  width: 4px;
  background-color: rgba(211, 211, 211, 0.25);
}
.upload .upload-files footer .list-files::-webkit-scrollbar-thumb {
  background-color: rgba(77, 182, 172, 0.5);
}
.upload .upload-files footer .list-files .file {
  width: 300px;
  min-height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  -webkit-animation: fade .35s ease both;
          animation: fade .35s ease both;
}
.upload .upload-files footer .list-files .file .name {
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 80px;
  text-align: left;
}
.upload .upload-files footer .list-files .file .progress {
  width: 175px;
  height: 5px;
  border: solid 1px lightgray;
  border-radius: 2px;
  background: -webkit-linear-gradient(right, rgba(77, 182, 172, 0.2), rgba(77, 182, 172, 0.8)) no-repeat;
  background: linear-gradient(to left, rgba(77, 182, 172, 0.2), rgba(77, 182, 172, 0.8)) no-repeat;
  background-size: 100% 100%;
}
.upload .upload-files footer .list-files .file .progress.active {
  -webkit-animation: progress 30s linear;
          animation: progress 30s linear;
}
@-webkit-keyframes progress {
  from {
    background-size: 0 100%;
  }
  to {
    background-size: 100% 100%;
  }
}
@keyframes progress {
  from {
    background-size: 0 100%;
  }
  to {
    background-size: 100% 100%;
  }
}
.upload .upload-files footer .list-files .file .done {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: #4db6ac;
  border-radius: 50%;
  margin-left: -10px;
  -webkit-transform: scale(0);
          transform: scale(0);
  position: relative;
}
.upload .upload-files footer .list-files .file .done:before {
  content: "View";
  position: absolute;
  top: 0;
  left: -5px;
  font-size: 24px;
  opacity: 0;
}
.upload .upload-files footer .list-files .file .done:hover:before {
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
  top: -30px;
  opacity: 1;
}
.upload .upload-files footer .list-files .file .done.anim {
  -webkit-animation: done1 .5s ease forwards;
          animation: done1 .5s ease forwards;
}
.upload .upload-files footer .list-files .file .done.anim #path {
  -webkit-animation: done2 2.5s .5s ease forwards;
          animation: done2 2.5s .5s ease forwards;
}
.upload .upload-files footer .list-files .file .done #path {
  stroke-dashoffset: 7387.59423828125;
  stroke-dasharray: 7387.59423828125 7387.59423828125;
  stroke: #fff;
  fill: transparent;
  stroke-width: 50px;
}
@-webkit-keyframes done2 {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes done2 {
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes done1 {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(0.25);
            transform: scale(0.25);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
}
@keyframes done1 {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(0.25);
            transform: scale(0.25);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
}
.upload .upload-files footer .importar {
  outline: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: auto;
  border: solid 1px #4db6ac;
  color: #4db6ac;
  background: transparent;
  padding: 8px 15px;
  font-size: 12px;
  border-radius: 4px;
  font-family: Roboto;
  line-height: 1;
  cursor: pointer;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  opacity: 0;
  margin-left: calc(50% - 40px);
}
.upload .upload-files footer .importar.active {
  -webkit-transition: opacity .5s 1.5s ease, -webkit-transform .5s 1.5s ease;
  transition: opacity .5s 1.5s ease, -webkit-transform .5s 1.5s ease;
  transition: transform .5s 1.5s ease, opacity .5s 1.5s ease;
  transition: transform .5s 1.5s ease, opacity .5s 1.5s ease, -webkit-transform .5s 1.5s ease;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
.upload .upload-files footer .importar:hover {
  background: #4db6ac;
  color: #fff;
}
@-webkit-keyframes fadeup {
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeup {
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@-webkit-keyframes faderight {
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes faderight {
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@-webkit-keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@media (max-width: 400px) {
  .upload {
    width: 100%;
    height: 100%;
  }
}
</style>






<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="easyui/themes/icon.css"/>
<title>Insert title here</title>
</head>
<body>
	
	
<body style="background-image: url('images/ss.png');">
<!--选项卡面板-->
	<div id="jiaoshi" class="easyui-tabs" style="width:1200px;height:600px;border: 1px;">   
	
		 	
	     	
	    <div title="资料上传" id="shangchuang" >
	    	
	    	<div id="kuang" style="width:500px ;height:400px;;margin-top: 200px;margin-left: 400px">
	     		<!-- 选择上传那个专业或是知识点的资料 -->
		     	<table>
		     		<tr>
		     			<td style="font-size: 32px;color:green ;font-family: cursive;">请输入选择要上传资料的科目</td>
		     		</tr>
		     		<tr>
		     			<td><input id="ff" style="width: 250px;height: 40px;"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="btn" href="#" class="easyui-linkbutton" >确定</a></td>
		     			
		     		</tr>
		     	</table>
	     	</div>
	    	
	     	<!-- 上传资料的模板 -->
	   	 	<link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/font-awesome/4.6.0/css/font-awesome.min.css">
	   	 	
			<div id="sc" class="upload" style="margin-top: 100px;margin-left: 300px;display: none;">
			
				<div id="fan" style="width: 150px;height: 100px;"><img src="images/fan.png" style="width: 150px;height: 100px;"></div>
				
				<div class="upload-files" >
					
						<header>
							<p style="margin-left: 100px;">
								<i class="fa fa-cloud-upload" aria-hidden="true"></i>
								<span class="up" >up</span>
								<span class="load" >load</span>
							</p>
						</header>
					
					<div  id="drop" style="background-color: yellow;text-align:center;height: 300px;width: 400px;" >
						<form  id="tf"  enctype="multipart/form-data" >
						    <table>
						        <tr>
						            <td style="color: green;">重定义文件名:</td>
						            <td><input type="text" required="required" name="description"></td>
						        </tr>
						         <tr style="width: 400px;height: 22px;">
						           <td style="color: black ; font-size: 12px;font-family: monospace;width: 300px;">仅支持：[.rar],[.zip],[.tar]格式</td>
						           
						        </tr>
						         <tr>
						            <td style="color: green;">
						            	<label>是否作为公开文件:</label>
						            	<div>
											<label><input type="radio" name="kongjian" value="0" checked="checked">是</label>
											<label><input type="radio" name="kongjian" value="1">否</label>
										</div> 
						            </td>
						            
						        </tr>
						        <tr>
						            <td style="color: green;">请选择文件:</td>
						            <td><input type="file" name="file"></td>
						        </tr>
						        <tr>
						            <td><input type="button" value="上传" id="jiang"></td>
						        </tr>
						    </table>
						</form>
					</div>
				
				</div>
			</div>
	    </div>   
	    <div title="布置作业">
	    	<div>
	    		<form action="shengword" method="get">
		       <table>
		       		<tr><td><h1>作业布置</h1></td></tr>
		       		<tr>
		       			<td>作业名：</td>
		       			<td><input type="text" id="work" name="workname"/></td>
		       		</tr>
		       		<tr>
		       			<td>截止时间：</td>
		       			<td><input id="dt" type="text" name="mysj"></input></td>
		       		</tr>
		       </table>
		       
		       <div>
		       		<div>
						<a href="" id="tk"><label><input type="radio" name="fs" value="0" checked="checked">从题库拿题</label></a>
						<!-- <a href="" id="dy"><label><input type="radio" name="fs" value="1">自定义上传题目</label></a> -->
					</div>
					<!-- 这个是从题库拿题的操作 -->
					<div>
						<table>
							<tr>
								<td>选择此次作业的章节：</td>
								<td><input id="ff1" style="width: 250px;height: 40px;"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="zuoye" href="#" class="easyui-linkbutton" >确定</a></td>
							</tr>
						</table>
						
						
						
						<table>
							<tr>
								<td>
									<div id="p" style="padding:10px;">    
										<div id="xuanti"></div> 						        
									</div>
								</td>
								<td>
									<div id="g" style="padding:10px;">    
										<div id="cunti"></div> 						        
									</div>
								</td>
							</tr>
						</table>
						<a id="guanti" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-lock'">确认保存并关闭面板</a>
						<a id="kaiti" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-tip'">打开面板重新选题</a>
						<div>
							<a href="" id="clazz"><label><input type="radio" name="wo" value="0" checked="checked">班级作业</label></a>
							<!-- <a href="" id="stu"><label><input type="radio" name="wo" value="1">个人作业</label></a> -->
						</div>
						<div id="xstu" style="padding:10px;">    
						      
						</div>
						<div id="cla">
							<table>
								<tr>
									<td>指定班级：</td>
									
									<td><input id="clas" name="clazz"/></td>
								</tr>
							</table>
						</div>
						<div ><input type="submit" value="Submit" >确认布置</div>
						</form>
					</div>
					<!-- 这个是自定义上传的操作 -->
					<div style="display: none;">
						<div>
							<table>
								<tr>
									<td>
										作业文件：
									</td>
									<td>
										<form name="form1" method="post" action="" enctype="multipart/form-data">
											<input type="file" name="workImage" id="workImage" multiple>
											<input type="submit" name="sub" value="提交">
										</form>
										
									</td>
								</tr>
							</table>
						</div>
					</div>
		       </div>
	       </div>
	    </div>   
	    <div title="作业审批" >   
	        <div>
	        	<table id="shenpi"></table> 
	        </div>   
	    </div>

	    <div title="上传记录" >
	    	<div id="qb" >
	    		
	    		<div id="hehe" style="margin-top: 15px;margin-left: 20px"><img src="images/geren3.png"  /></div>
	    		
	    		<div style="margin-left: 20px;"><h3>全部教师上传记录</h3></div>
	    		
	    		<table style="margin-left: 100px;margin-bottom: 10px;">
	    			<tr>
	    				<td><input type="text" id="sou" style="height: 32px;width: 180px;" placeholder="请输入教程名称或是教师名"/></td>
	    				<td><a id="sousuo" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">点击搜索</a></td>
	    			</tr>
	    		</table>
	    		   
	        	<table id="scjl"></table>      
	        </div>
	        
	     
	    </div> 
	    <div title="私人空间" >   
	          <div id="gr" >
	        	<div id="juju" style="margin-top: 15px;margin-left: 20px" ><img src="images/geren2.png"  /></div>
	    	
	        	<div style="margin-left: 20px;"><h3>本人上传记录</h3></div>
	        		<table style="margin-left: 100px;margin-bottom: 10px;">
		    			<tr>
		    				<td><input type="text" id="grsou" style="height: 32px;width: 180px;" placeholder="请输入教程名称"/></td>
		    				<td><a id="grsousuo" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">点击搜索</a></td>
		    			</tr>
	    			</table>
	        	<table id="brscjl"></table>
	        </div>
	    </div>  
	</div> 
  
</div>  
</body>
<script type="text/javascript" src="easyui/jquery.min.js" ></script>
<script type="text/javascript" src="easyui/jquery.easyui.min.js" ></script>
<script type="text/javascript" src="easyui/locale/easyui-lang-zh_CN.js" ></script>
<script type="text/javascript" src="js/study/teachercurr.js" ></script>
<script type="text/javascript">
$('#major').combobox({       
	url:'combo',
	valueField:'id',    
	textField:'text',
	value:'0',
	onChange:function(){
		var id=$("#major").val();
		alert(id);
		 $.ajax({
			url:'loadtable',
			type:'post',
			data:{
				id:id,
			},
			success:function(data){
				alert(data);
				$("#tright").html(data.html1);
			}
		}) 
		
	}
});  
 $(function(){
	
}) 
</script>
</html>